"use strict"


function timeout(ms){
    return new Promise((resolve)=>{
        setTimeout(()=>resolve("timeout"), ms);
    });
}

async function asynPrint(value, ms){
    let ret = await timeout(ms);
    console.log(value+":"+ret);
}
console.log("test start");
asynPrint("hello", 1000);
console.log("test end");